package com.nlp.visualization.service;

import com.nlp.visualization.core.sentence.SentenceType;
import com.nlp.visualization.pojo.NLP.sen.SentenceEntity;

import java.io.File;
import java.io.IOException;
import java.util.List;

public interface IDataSentenceService {

    File parseFile(File in, String save, SentenceType type) throws IOException;

    SentenceEntity parseSingle(String text, SentenceType type);

    List<SentenceEntity> parseMutil(List<String> texts, SentenceType type);

    String parse2Text(List<String> texts, SentenceType type);
}
